<!DOCTYPE html>
<html>
<head>
	<meta charset="UTF-8">
	<title>基本搜索框 - jQuery EasyUI 演示</title>
	<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
	<link rel="stylesheet" type="text/css" href="../../themes/default/easyui.css">
	<link rel="stylesheet" type="text/css" href="../../themes/icon.css">
	<link rel="stylesheet" type="text/css" href="../demo.css">
	<script type="text/javascript" src="../../jquery.min.js"></script>
	<script type="text/javascript" src="../../jquery.easyui.min.js"></script>
</head>
<body>
	<h2 title="Basic SearchBox">基本搜索框</h2>
	<p title="Click search button or press enter key in input box to do searching.">　　点击搜索图标按钮或在输入框中按【回车】键即可开始搜索。</p>
	<div style="margin:20px 0;"></div>
	<div class="easyui-panel" style="width:100%;max-width:400px;padding:30px 60px;">
		<input class="easyui-searchbox" data-options="prompt:'… 请输入 …',searcher:doSearch" style="width:100%">
	</div>
	<script>
		function doSearch(value){
			alert('框中所输值为：' + value);
		}
	</script>
</body>
</html>